package cn.tutu.blockchain.mining.service;

import com.github.pagehelper.PageInfo;

import cn.tutu.blockchain.common.Page;
import cn.tutu.blockchain.mining.entity.MiningRecords;

public interface MiningRecordsService {

	// void create(String userId, Double currencyValue, Date miningDatetime);

	void create(MiningRecords miningRecords);

	PageInfo<MiningRecords> getByEthId(String userId, Page page);

	void removeByTimeout();

}
